package mirrormonkey.util.netevent.server.tools;

import java.util.Set;

import com.jme3.network.HostedConnection;
import com.jme3.network.Message;
import com.jme3.network.Server;

/**
 * Does nothing but is used for testing to check if references are passed
 * correctly through the framework.
 * 
 * @author Philipp Christian Loewner
 * 
 */
public class MockHostedConnection implements HostedConnection {

	@Override
	public void send(Message message) {
	}

	@Override
	public Server getServer() {
		return null;
	}

	@Override
	public int getId() {
		return 0;
	}

	@Override
	public String getAddress() {
		return null;
	}

	@Override
	public void close(String reason) {
	}

	@Override
	public Object setAttribute(String name, Object value) {
		return null;
	}

	@Override
	public <T> T getAttribute(String name) {
		return null;
	}

	@Override
	public Set<String> attributeNames() {
		return null;
	}

	@Override
	public void send(int arg0, Message arg1) {
	}

}